/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.shoppingsystem.view.renders;

import java.awt.Component;
import javax.swing.JTable;
import javax.swing.table.DefaultTableCellRenderer;
import javax.swing.table.TableCellRenderer;

/**
 *
 * @author vivancu
 */
public class JPasswordCellRender extends DefaultTableCellRenderer{

    private static final String astersk = "********************************";
    @Override
    public void setText(String text) {
        super.setText(astersk.substring(0, text.length()));
    }    
}
